﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Domain.SystemSetupModel.InstitutionSettingModel
{
    /// <summary>
    /// 培训表
    /// </summary>
    [Table("Train")]
    public class Train
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public int TrainId { get; set; }
        /// <summary>
        /// 性质
        /// </summary>
        public string  Character { get; set; }
        /// <summary>
        /// 培训内容
        /// </summary>
        public string  Content { get; set; }
        /// <summary>
        /// 培训开始时间
        /// </summary>
        public DateTime  CreateTime { get; set; }
        /// <summary>
        /// 培训结束时间
        /// </summary>
        public DateTime  EndTime { get; set; }
        /// <summary>
        /// 参与人
        /// </summary>
        public int StaffId { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 报名费
        /// </summary>
        public decimal  EntryFee { get; set; }
        /// <summary>
        /// 机票
        /// </summary>
        public decimal AirTicket { get; set; }
        /// <summary>
        /// 住宿
        /// </summary>
        public decimal Stay { get; set; }
        /// <summary>
        /// 其他
        /// </summary>
        public decimal Rest { get; set; }
        /// <summary>
        /// 合计
        /// </summary>
        public decimal Total { get; set; }
        /// <summary>
        /// 总合计
        /// </summary>
        public decimal InTotal { get; set; }

    }
}
